package com.woniuxy.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.DTO.WarehousesDTO;
import com.woniuxy.util.PageParam;
import com.woniuxy.util.ResponseData;

import java.util.List;

public interface WarehousesService {


    List<WarehousesDTO> queryWarehousesInfo();

    PageInfo<WarehousesDTO> queryWarehouseByCondition(PageParam<WarehousesDTO> pageParam);

    Integer changeStatus(Integer id);

    void addWarehouse(WarehousesDTO warehousesDTO);

    WarehousesDTO getWarehouseDetail(Integer warehouseId);

    void updateWarehouse(WarehousesDTO warehousesDTO);

    boolean isExistRiderOrCourier(Integer warehouseId);
}
